<!--#layout("/common/container.html"){-->
<script>
    layui.use('layer', function () {
        parent.layer.open({
            content: '${errorMessage}',
            yes: function(index, layero){
                if('${errorMessage}' == '会话过期，重新登录'){
                    parent.window.location.href="/";
                }else if('${errorMessage}' == '验证码错误，请重新输入！'){
                    window.location.href="/";
                }else if('${errorMessage}' == '请输入验证码！'){
                    window.location.href="/";
                }else if('${errorMessage}' == '验证码已失效，请重新输入！'){
                    window.location.href="/";
                }else if('${errorMessage}' == '用户名密码错'){
                    window.location.href="/";
                }else if('${errorMessage}' == '用户不存在或者密码错误'){
                    window.location.href="/";
                }
                layer.close(index); //如果设定了yes回调，需进行手工关闭


            }
            ,btn: '确定'
        });

    })
</script>
<!--#}  -->